@import "../public/public.less";
@import "../public/theme.less";
.building {
    //   全部商品分类
    .banner {
        .width-1260-center;
        margin-top: 20px;
        .banner-classify {
            width: 240px;
            height: 40px;
            background-color: #49cbcd;
            position: relative;
            .ios-arrow-down {
                font-size: 18px;
                color: white;
                padding-left: 60px;
                line-height: 40px;
            }
            p.classify-title {
                font-size: 16px;
                color: #ffffff;
                margin-left: 32px;
            }
            .banner-dropdown {
                width: 240px;
                height: 401px;
                background: rgba(72,84,96,0.9);
                z-index: 99;
                position: absolute;
                left: 0;
                top: 39px;
                display: none;
                ul {
                    padding-top: 20px;
                    position: relative;
                    li {
                        font-size: 14px;
                        color: #ffffff;
                        width: 240px;
                        height: 40px;
                        padding-left: 32px;
                        .menu-content {
                            line-height: 40px;
                            .jurz {
                                cursor: pointer;
                            }
                        }
                        .ios-arrow-right {
                            padding-left: 102px;
                            font-size: 18px;
                        }
                        .ios-right {
                            padding-left: 63px;
                            font-size: 18px;
                        }
                        .menu-list {
                            width: 1020px;
                            height: 401px;
                            box-sizing: border-box;
                            padding: 30px 0px 0 40px;
                            background: #fff;
                            position: absolute;
                            display: none;
                            left: 240px;
                            top: 0;
                            color: #364049;
                            .item {
                                margin-bottom: 28px;
                                font-size: 16px;
                                color: #364049;
                            }
                            .title {
                                padding-bottom: 10px;
                                cursor: pointer;
                            }
                            .title:hover {
                                color: #49CBCD;
                            }                     
                            .list {
                                overflow: hidden;
                                font-size: 14px;
                                color: #364049;
                                span {
                                    float: left;
                                    margin-right: 20px;
                                    margin-bottom: 4px;
                                }
                            }
                            span:hover {
                                color: @activeColor;
                                cursor: pointer;
                            }
                        }
                    }
                    li:hover {
                        background: @activeColor;
                        .menu-list {
                            display: block;
                        }
                    }
                }
            }
        }
        .banner-classify:hover {
            .banner-dropdown {
                display: block;
            }
        }

        .menu {
            position: relative;
            ul {
                overflow: hidden;
                position: absolute;
                left: 250px;
                top: -32px;
                cursor: pointer;
                .active {
                    color: #49cbcd;
                }
                li {
                    float: left;
                    padding-left: 36px;
                    font-size: 16px;
                    color: #364049;
                }
                li:hover {
                    color: #49cbcd;
                }
            }
        }
    }
    // 轮播图
    .ivue-banner {
        height: 400px;
        width: 100%;    
        .bannerground {
            background-color: gray;
        }
        .ivu-carousel-dots {
            li {
                button {
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    margin: 0 5px;
                }
            }
            .ivu-carousel-active {
                button {
                    background-color: @activeColor;
                }
            }
        }
        .ivu-carousel-dots-inside {
            bottom: 46px;
        }
        .demo-carousel {
            width: 1260px;
            height: 400px;
            margin: 0 auto;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
    }

    //瓷砖
    .ware-box {
        background: #f5f5f5;
        margin-bottom: 56px;
        .ware {
            .width-1260-center;
            padding-bottom: 56px;
            .category {
                padding-top: 56px;
                .title {
                    overflow: hidden;

                    .title-text {
                        font-size: 18px;
                        font-weight: 600;
                        float: left;
                        color: #364049;
                        cursor: pointer;
                    }
                    .more {
                        float: right;
                        font-size: 14px;
                        color: #788492;
                        cursor: pointer;
                        i {
                            position: relative;
                            top: 1px;
                        }
                        .ios-more-right {
                            font-size: 16px;
                            margin-left: 10px;
                            margin-right: -6px;
                        }
                        .ios-right {
                            font-size: 16px;
                            padding-left: 1px;
                        }
                    }
                }
                .title:hover {
                    .more {
                        color: #49cbcd;
                    }
                }
                .category-list {
                    overflow: hidden;
                    padding-top: 18px;
                    padding-bottom: 8px;
                    .class {
                        width: 236px;
                        height: 354px;
                        float: left;
                        padding-top: 94px;
                        text-align: center;
                        background-repeat: no-repeat;
                        background-size: cover;
                        background-position: center;
                        cursor: pointer;
                        .pone {
                            color: #364049;
                            font-size: 30px;
                        }
                        .ptwo {
                            font-size: 14px;
                            color: #485460;
                        }
                    }
                    .good-picture {
                        float: left;
                        margin-left: 20px;
                        width: 236px;
                        position: relative;
                        .data-shadow {
                            background: #49cbcd;
                            margin-bottom: 20px;
                            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
                            transition: box-shadow 0.5s ease-out 0s;
                            .data {
                                overflow: hidden;
                                position: relative;
                                cursor: pointer;
                                top: 0;
                                transition: top 0.5s ease-out 0s;
                                .smallclass-picture {
                                    width: 236px;
                                    height: 236px;
                                    display: table-cell;
                                    vertical-align: middle;
                                    text-align: center;
                                    overflow: hidden;
                                    background-repeat: no-repeat;
                                    background-size: cover;
                                    background-position: center;
                                }
                                .good-title {
                                    background-color: #ffffff;
                                    width: 236px;
                                    height: 120px;
                                    .inner {
                                        text-align: center;
                                        padding-bottom: 30px;
                                        p {
                                            font-size: 18px;
                                            color: #364049;
                                            padding-top: 17px;
                                            overflow: hidden;
                                            text-overflow:ellipsis;
                                            white-space: nowrap;
                                        }
                                        .model {
                                            margin-top: 3px;
                                            font-size: 12px;
                                            color: #788492;
                                        }
                                        .model-price {
                                            font-size: 14px;
                                            color: #fc6532;
                                            padding-top: 14px;
                                        }
                                    }
                                    .data_info {
                                        width: 100%;
                                        height: 76px;
                                        position: relative;
                                        bottom: 7px;
                                        background: #49cbcd;
                                        transition: bottom 0.5s ease-out 0s;
                                        .good-mask {
                                            overflow: hidden; 
                                            padding: 0px 15px;
                                            p {
                                                font-size: 12px;
                                                color: #ffffff;
                                                padding-top: 15px;
                                            }
                                            span {
                                                font-size: 12px;
                                                color: #ffffff;
                                                display: block;
                                                margin-top: 3px;
                                            }
                                        } 
                                    }
                                    
                                }
                                
                            }
                            .data:hover {
                                top: -5px;
                            }
                        }
                        .data-shadow:hover {
                            box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
                            .data_info {
                                bottom: 80px !important;
                            }
                        }
                      }
                }
            }
        }
    }
}
